﻿using System;
using System.Collections.Generic;

using System.Text;
using RebellionII.GameObjects.Units;
using Microsoft.Xna.Framework.Content;

namespace RebellionII.GameObjects.Units
{
    public class Fighter : BaseUnit
    {
        public string sModelName { get; set; }

        public int iSquadronSize { get; set; }
        public int iHullStrength { get; set; }
        public int iMaxShieldStrength { get; set; }
        public int iHyperdriveSpeed { get; set; }
        public int iSublightSpeed { get; set; }
        public int iManeuverability { get; set; }

        public int iNumTorpedos { get; set; }
        public int iTorpedoRange { get; set; }
        public int iIonAtt { get; set; }
        public int iIonRange { get; set; }
        public int iLaserAtt { get; set; }
        public int iLaserRange { get; set; }
        public int iBombardment { get; set; }

        public Fighter(int squadron, int hull, int shield, int hyper, int sub, int man
            , int numtorp, int torprange, int ionatt, int ionra, int lasatt, int lasra,
            int bomb)
        {
            iSquadronSize = squadron;
            iHullStrength = hull;
            iMaxShieldStrength = shield;
            iHyperdriveSpeed = hyper;
            iSublightSpeed = sub;
            iManeuverability = man;
            iNumTorpedos = numtorp;
            iTorpedoRange = torprange;
            iIonAtt = ionatt;
            iIonRange = ionra;
            iLaserAtt = lasatt;
            iLaserRange = lasra;
            iBombardment = bomb;
        }
        public Fighter(bool yes)
        {
            iSquadronSize = 6;
            iHullStrength = 10;
            iMaxShieldStrength = 10;
            iHyperdriveSpeed = 100;
            iSublightSpeed = 50;
            iManeuverability = 50;
            iNumTorpedos = 6;
            iTorpedoRange = 100;
            iIonAtt = 50;
            iIonRange = 50;
            iLaserAtt = 50;
            iLaserRange = 50;
            iBombardment = 100;
            sName = "default";
            sTextureName = "default";
            sModelName = "default";

            iConstructionCost = 10;
            iMaintenanceCost = 10;
            TheTeam = TeamName.Alliance;
        }

        public Fighter()
        {

        }

    }
}
